<%@page import="java.util.Enumeration"%>
<%@page import="java.util.Set"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib tagdir="/WEB-INF/tags/templates" prefix="tmpl"%>
<tmpl:head>
</tmpl:head>
<%
	String perms = "";
	Set<String> accsess = (Set<String>) request.getSession().getAttribute("currentAccsess");
	Object[] a =  accsess.toArray();
	for (Object s : a) {
	    perms += s.toString() + " ";
	}
	if (perms.length()==0) {
	    perms = "none";
	}
	request.setAttribute("accsessPerms",perms);
%>
<tmpl:error code="401">
<b>Accsess denided.</b><br>
You have permisions: <c:out value="${accsessPerms}" escapeXml="false" />.<br>
</tmpl:error>
